How do I find the closest point on a curve to (1,1)?

  • Thread starter Thread starter Knight226
  • Start date Start date
  • Tags Tags
    Curve Point
Click For Summary
SUMMARY

The discussion focuses on finding the point on the curve defined by the equation y = cos(x) that is closest to the point (1,1). The distance formula d = SQRT((x-1)^2 + (y-1)^2) is utilized, leading to the function f(x) = (x-1)^2 + (cos(x)-1)^2. The derivative f'(x) = 2x - 2 - sin(2x) + 2sin(x) is set to zero to find critical points, but participants express difficulty with trigonometric identities and derivative calculations. The conversation emphasizes the importance of minimizing the square of the distance, D2(x), for simplification.

PREREQUISITES
  • Understanding of calculus, specifically derivatives and critical points
  • Familiarity with trigonometric functions and identities
  • Knowledge of distance formulas in coordinate geometry
  • Experience with optimization problems in mathematics
NEXT STEPS
  • Study the application of the chain rule in differentiation, particularly for trigonometric functions
  • Learn about critical point analysis and optimization techniques in calculus
  • Review trigonometric identities, especially the double angle formulas
  • Explore methods for minimizing functions, including the use of second derivatives
USEFUL FOR

Students studying calculus, particularly those tackling optimization problems involving trigonometric functions, as well as educators looking for examples of distance minimization techniques.

Knight226
Messages
15
Reaction score
0

Homework Statement


Find the point on the curve y = cos (x) closest to the point (1,1)

Homework Equations


Tangent line equation
y = f'(c)(x-c)+f(c)

Distance formula
d = SQRT( (x1-x2)^2 + (y1-y2)^2 )

The Attempt at a Solution


I have problem doing the f'(c) part. I get stuck when I have trigonometry in the equation where I have to set it to zero to find the critical number...

So far I have
d = SQRT( (x-1)^2 + (y-1)^2 )
y = cos (x)
d = SQRT( (x-1)^2 + (cos(x)-1)^2 )
*Here according to my textbook, what matter is what is inside radical sign*
f(x) = (x-1)^2 + (cos(x)-1)^2
f(x) = x^2-2x+2+cos^2x-2cosx

f'(x) = 2x - 2 - sin2x + 2sinx

Set f'(x) to zero
2x - 2 - sin2x + 2sinx = 0

Get stuck here :(
let say I do...
-sin2x + 2sinx = -2x + 2
then.. I don't know what to do next... I am horrible with trigonometry... Please help. Thank you very much in advance. Please let me know if I have made mistakes somewhere along the calculation.
 
Physics news on Phys.org


The derivative of cos^2(x) is not -sin(2x), it's -2cos(x)sin(x) by the chain rule.
 


Understood. Thank you! :D
 


It's simpler if you work with the square of the distance, and minimize it. After all, if the square of the distance is minimized, then the distance will also be minimized.

D2(x) = (x - 1)2 + (cos(x) - 1)2
d/dx[D2(x)] = 2(x - 1) + 2(cos(x) - 1)*(-sin(x))

Now set this derivative to 0 and find the critical points.
 


Isn't 2cos(x)sin(x) equal to sin(2x) by some trig identity?

So I don't see what Matterwave finds false...
 


Char. Limit said:
Isn't 2cos(x)sin(x) equal to sin(2x) by some trig identity?

So I don't see what Matterwave finds false...
Nor do I. The identity you cited is the double angle formula for sin.
 


Ok, I have a tendency to assume that if two people's facts differ, and I'm one of the people, the fault lies in my facts. Thanks for clearing that up.
 

Similar threads

Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
947