How can I differentiate modulus?

In summary, the function y=|x+4| has a derivative of 1/2|x+4| and cannot be solved for 0. The derivative is undefined at x=-4 and there are no extreme points on the function.
  • #1
ojsimon
56
0
Ok so i was wondering if what i am doing is correct, But it gets the wrong minimum point?
So my function is y=|x+4|

1) y^2=x+4
2)2y(dy/dx)=1
3)dy/dx = 1/2y
4)dy/dx = 1/2|x+4|

I set that 0 and get
0=1/(2(|x+4|))

Am i write in thinking this cannot be solved? or missing something?

Thanks
 
Mathematics news on Phys.org
  • #2
Yep that's right. It's the same as asking what number x can be used to make 1/x=0? None of course. And at x=-4 the derivative is undefined.
 
  • #3
It goes wrong from the start, [itex]y^2 \neq x+4[/itex].
 
  • Like
Likes milkism
  • #4
Oh right, I guess I brushed over it too fast.

When that mistake is fixed, you'll still find the the derivative cannot equal zero anywhere and it's still undefined at x=-4 with the form 0/0
 
  • #5
Oh yeah, thanks,
 
  • #6
Another approach is to get rid of the absolute values by writing the function as
y = x + 4, x >= -4
y = -(x + 4), x < -4

Then y' = 1 for x > -4 and y' = -1 for x < - 4. y' does not exist at x = -4.

Any extreme points of a function occur at places where y' = 0, or y' is undefined, or at finite endpoints of the domain in cases where a function is defined only on an interval [a, b].
 

FAQ: How can I differentiate modulus?

What is modulus in mathematics?

Modulus, also known as the absolute value, is a mathematical operation that returns the positive value of a number regardless of its original sign. It is denoted by the symbol "|" and is commonly used in equations involving distance, magnitude, or absolute difference.

How is modulus different from division?

Modulus and division are both arithmetic operations, but they have different results. Division is the process of finding how many times one number fits into another, while modulus calculates the remainder after division. For example, 13 divided by 5 is 2 with a remainder of 3, so the modulus would be 3.

What are the applications of modulus in real life?

Modulus has many practical applications, such as calculating distances in maps, determining the magnitude of earthquakes, and measuring the difference between two temperatures. It is also used in computer science to perform tasks like determining if a number is even or odd, or to create patterns in computer graphics.

How do you differentiate modulus functions?

To differentiate a modulus function, you first need to write it as a piecewise function with separate equations for when the input is positive and negative. Then, you can use the chain rule to differentiate each piece, replacing the absolute value with its equivalent positive or negative value. Finally, you can simplify the resulting equations to get the final derivative.

Can the modulus of a complex number be calculated?

Yes, the modulus of a complex number can be calculated using the Pythagorean theorem. The modulus of a complex number a + bi is equal to the square root of (a^2 + b^2), where a and b are the real and imaginary parts of the complex number, respectively. It represents the distance of the complex number from the origin on the complex plane.

Similar threads

Replies
5
Views
2K
Replies
13
Views
2K
Replies
4
Views
1K
Replies
13
Views
2K
Replies
1
Views
3K
Replies
2
Views
1K
Back
Top