Calculus - finding the minimal length between two functions

Click For Summary
The discussion revolves around finding the minimal vertical distance (length AB) between two functions f(x) and g(x) in calculus. To solve for the minimal length, participants emphasize the need to define the length as the difference between the two functions and then take its derivative. There is confusion regarding the proper handling of fractions and derivatives, particularly the importance of maintaining the denominator when calculating derivatives. Participants clarify that while it's acceptable to manipulate equations, one must be cautious not to lose critical components of the functions involved. Ultimately, the correct approach involves setting the derivative of the length function to zero to find the optimal x-coordinate for minimal distance.
  • #31
My results are X1 = 4, X1 = -4
for its derivative = 0

So far so good?
 
Physics news on Phys.org
  • #32
Femme_physics said:
My results are X1 = 4, X1 = -4
for its derivative = 0

So far so good?

Yes! :smile:

[edit]Actually your results are x1 = 4, x2 = -4 [/edit]

And now? :confused:
 
  • #33
I like Serena said:
Yes! :smile:

[edit]Actually your results are x1 = 4, x2 = -4 [/edit]

And now? :confused:

Now I plug it back into the formula for AB. I plug "4" because they're asking only for positive.

I get 1.5

Is that the answer, or do I have to plug that into the original function to find their y and then find the differences in the y?

In that case I get

\frac{1.5-2}{4} = -0.125

And
\frac{-4}{1.5} = -2.6666666

So the difference her is 2.79
 
  • #34
Femme_physics said:
Now I plug it back into the formula for AB. I plug "4" because they're asking only for positive.

I get 1.5

Is that the answer?

Yes! :smile:

Femme_physics said:
or do I have to plug that into the original function to find their y and then find the differences in the y?

In that case I get

\frac{1.5-2}{4} = -0.125

And
\frac{-4}{1.5} = -2.6666666

So the difference her is 2.79

Nooooooo! :wink:
(You have calculated an y value. You're not supposed to then plug that in in f(x) as if it is an x value.)
 
  • #35
You needed to find the difference in height between each function, and you found the x value where the height between them is minimal. We already have the function describing their difference (f(x)-g(x)) in height, so yes, just substituting x=4 to get y=3/2 is enough here.
 
  • #36
I'll have to do some backtracking to see how this all makes sense. I lost the string of the actual problem with all the math mishaps. Thank you all though! Much appreciate ILS for going for the kill! :)
 
  • #37
Femme_physics said:
I'll have to do some backtracking to see how this all makes sense. I lost the string of the actual problem with all the math mishaps. Thank you all though! Much appreciate ILS for going for the kill! :)

The basic idea of how to answer this question - without all the maths - is we first start with some function f(x) and another g(x), these functions don't intersect by looking at their graphs (we could also have proven this by setting f(x)=g(x) and shown there are no real solutions too, but it wasn't necessary here) and now to find the minimal distance in the y-direction between each function, we consider that the function f(x)-g(x) describes their differences in their height y at each point x, so for example if we took the value x=3, then f(3)=1/4 and g(3)=-4/3, which means their height difference is f(2)-g(2)=1/4-(-4/3)=19/12. So the function f(x)-g(x) is their height difference, and finding the minimal height means finding the lowest point on this graph (it will be above the y-axis, because we've already argued that the graphs don't intersect so f(x)-g(x)\neq0) and this is where calculus comes into it. Since when we find the derivative of a function, it tells us the gradient of the tangent at each x value, well we know the lowest point on the function has a tangent gradient of 0, so we find the derivative and set it to zero (this says "tangent gradient = 0") then solving for x, it will tell us the x-value where lowest point is. Now substituting x back into the derivative equation obviously yields 0, because we just solved the equality and found the value of x that makes the derivative 0. We need to substitute the x-value back into the function f(x)-g(x) which will give us the y-value, which is the height difference between the functions. This is it.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
7
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
32
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
20
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K