Does the Equation x^2 = xsinx + cosx Have Exactly Two Real Roots?

  • Thread starter heman
  • Start date
In summary: I'm sorry, there's not much more to say.In summary, a continuous function can have at most one zero on an interval, and a cubic polynomial with 2 critical points has 3 zeroes.
  • #1
heman
361
0
How to Prove

[tex]x^2 = xsinx + cosx[/tex]

has exactly two real roots.

Will be thankful to yours bit of help.
 
Physics news on Phys.org
  • #2
1. What does this have to do with differentiability?

2. What makes you think it has any roots?
 
  • #3
Halls,it has 2 real roots.Consider the function
[tex] f(x)=x^{2}-x\sin x-\cos x [/tex]

Plot it on [itex][0,+\infty)[/itex].Use the fact that this function IS EVEN...

Daniel.
 
  • #4
With [tex]f(x)=x^{2}-x\sin x-\cos x [/tex], try using the intermediate value theorem to show you have at least one root in [itex](0,+\infty)[/itex], then use the fact that this is even (as dexter pointed out) to prove at least two roots.

Next consider what Rolle's theorem will say about the derivative of f(x) if you have more than two roots.
 
  • #5
shmoe said:
With [tex]f(x)=x^{2}-x\sin x-\cos x [/tex], try using the intermediate value theorem to show you have at least one root in [itex](0,+\infty)[/itex], then use the fact that this is even (as dexter pointed out) to prove at least two roots.

Next consider what Rolle's theorem will say about the derivative of f(x) if you have more than two roots.

Thanks shmoe. Woulda' never though of that. Heman, write it up else I will in a day or so.

Salty
 
  • #6
Using shmoe's suggestions, here's my proof:
Let:

[tex]f(x)=x^2-x\sin(x)-\cos(x)[/tex]

Note that f(0)=-1 and that this is an even function which approaches infinity as x becomes unbounded in the negative and positive direction.

The function is even since:

[tex]f(-x)=f(x)[/tex]

Pick an interval [itex][0,a][/itex] such that f(a)>0 for example, let a=10. Now, f(x) is continuous on this interval, thus by the Intermediate Value Theorem, for any number k between f(0) and f(a), there exists a number c between 0 and a such that f(c)=k. Thus, choose [itex]k_1=0[/itex]. In this case [itex]c_1[/itex] is the root of the function. Likewise, choose a<0. Since this is an even function and is continuous in the interval[itex][a,0][/itex], there exists a [itex]k_2[/itex] such that [itex]f(c_2)=0[/itex].

Taking the derivative of f(x):

[tex]f^{'}(x)=x(2-\cos(x))[/tex]

The derivative is zero only when x=0 and is always positive when x>0 and always negative when x>0. Thus, this function has only two roots.

I'd like to say "QED" but I don't think this proof is slick enough.
 
  • #7
how can it be that someone "would have never thought of" this, when it is a typical standard question and technique occurring in every cookbook calculus book in the united states?
 
  • #8
because not everyone on the forum is a prof who has been doing this stuff for years
 
  • #9
Well, I'm a young calculus instructor who remembers taking these courses not so very long ago, and I get equally exasperated with my students. Not to come down too hard on our students here, but to miss that method of solution is to not have read the book carefully.
 
  • #10
it is becoming more and more apparent to me that many people on this and other such forums think that one can learn this material by searching web sites and asking questions, rather than just sitting down with a book and mastering it.

it is also very clear that the people answering these questions are the ones who have done their homework in books. if anyone out there aspires to learn this stuff well, they are seriously advised to do more reading of books by experts, and less searching of sites like wikipedia.
 
  • #11
I am very much thankful to all of you...i got it well.
 
  • #12
well it may be late for this, but the following contains about all there is to know in differential calculus:

1) continuous functions satisfy the "intermediate value theorem". i.e. if f is continuous and assumes both negative and positive values on the same interval, then somewhere on that interval it assumes all values between those assumed values, in particular it assumes the value zero.

I.e. the continuous image of an interval is also an interval.

2) A continuous function on a closed bounded interval, assumes a maximum and a minimum.

Thus the continuous image of a closed and bounded interval is also a closed and bounded interval.

3) A continuous function cannot "change direction" except at a critical point. I.e. on any interval on which a function is differentiable, but the derivative has no zeroes, the function must be strictly monotone, either strictly increasing or strictly decreasing.


Thus on an interval without critical points, a function can have at most one zero. Hence on an interval where the function has no critical points, but takes on both positive and negative values, the function has exactly one zero. Hence a cubic polynomial with 2 critical points, and having opposite signs at these two points, has exactly three zeroes. [why?]

4) Consequently, if a function has exactly one critical point on an open interval, and goes up at both ends of the interval, then the function has a unique global minimum on the interval but no maximum.


Verbum sapienti: This is essentially the entire content of a standard differential calculus course. Thus if you are a calculus student you might wish to learn it.
 
Last edited:
  • #13
mathwonk said:
how can it be that someone "would have never thought of" this, when it is a typical standard question and technique occurring in every cookbook calculus book in the united states?


Simple, I took Calculus 20 years ago. Doing it just for fun now and as long as I don't have "homework helper", "mentor" or anything else in front of my name , I think "never woulda' though of that" is ok.

Salty
 
  • #14
saltydog said:
Simple, I took Calculus 20 years ago. Doing it just for fun now

In that case, keep up the good work! :wink:
 
  • #15
heman said:
How to Prove

[tex]x^2 = xsinx + cosx[/tex]

has exactly two real roots.

Will be thankful to yours bit of help.
Ok, here is the solution
At first you take the derivative: [tex]y = x^2 - xsinx - cosx [/tex]
-> y' = 2x - xcosx
We set y'= 0 to find the critical number y' = 0 when x(2-cosx) = 0
Since: -1< cosx< 1 -> 2-cosx > 0 with all x
-> y' = 0 when x = 0 , and x = 0 is the only one critical number.
At x = 0, function y has relative minimum: y min = -1
when x -> - infinity --> y > 0
when x -> infinity ---> y> 0
--> from - infinity to 0: y change the sign from + to - , there is 1 value of x at that y =0 (1)
--> from 0 to + infinity: y change the sign from + to - , there is 1 value of x at that y =0 (2)
-----------------
---> there are only two roots for the first function.
 

FAQ: Does the Equation x^2 = xsinx + cosx Have Exactly Two Real Roots?

What is the purpose of proving x^2 = xsinx + cosx?

The purpose of proving this equation is to show the relationship between the functions x^2, xsinx, and cosx. This can help in solving other mathematical problems and understanding the behavior of these functions.

What is the approach to proving x^2 = xsinx + cosx?

There are multiple approaches to proving this equation, but one common method is to use the properties of trigonometric identities and algebraic manipulation to simplify the left and right sides until they are equal.

Can this equation be proven for all values of x?

Yes, this equation can be proven for all values of x since it is true for all real numbers. However, some values of x may require more complex methods or approximations to prove the equation.

How can this equation be applied in real-world situations?

The equation x^2 = xsinx + cosx can be applied in various fields such as physics, engineering, and economics. For example, it can be used to model the motion of a simple harmonic oscillator or to calculate the cost of production for a company.

Are there any alternative ways to prove x^2 = xsinx + cosx?

Yes, there are alternative ways to prove this equation such as using geometric interpretations or using calculus concepts like derivatives and integrals. However, the basic principles of trigonometry and algebra will still be involved.

Back
Top