Creating a Real and Negative Function from the Square Root Equation

  • Thread starter Thread starter redtree
  • Start date Start date
  • Tags Tags
    Function
Click For Summary

Homework Help Overview

The discussion revolves around constructing a function based on the equation y = sqrt(x) that provides real and negative values for y when x is less than 0, while maintaining the magnitude of sqrt(x). Participants explore various approaches to model this function without using absolute values or sign functions.

Discussion Character

  • Exploratory, Conceptual clarification, Problem interpretation

Approaches and Questions Raised

  • Participants suggest different forms of the function, including piecewise definitions and continuous alternatives. Some express a desire to avoid certain types of solutions, such as those involving complex numbers or discontinuities.

Discussion Status

The discussion is ongoing, with various participants offering insights and alternative formulations. Some participants question the feasibility of avoiding certain mathematical constructs while still achieving the desired function characteristics.

Contextual Notes

There is an emphasis on avoiding solutions that involve absolute values, sign functions, or complex numbers. Participants are also considering the implications of continuity and definition at zero.

redtree
Messages
335
Reaction score
15
THIS IS NOT A HOMEWORK QUESTION, BUT I AM POSTING HERE ANYWAY.

Given the equation

y = sqrt(x)

I'm trying to construct a function that instead of being imaginary when x<0, gives a value for y which is real and negative but whose magnitude is still sqrt(x).

I've been going around in circles trying to model the function. I know there has to be a simple answer, but I'm not finding it.
 
Physics news on Phys.org
y2= -x or y=-√-x

but I am not good at modeling functions
 
I'd like the function to give positive real values for y when x>0 whose magnitude is sqrt(x).
 
You've already well-defined the function (we know its value for each input). If you want to furthermore put it into x and y symbols, simply define it explicitly. Ie.,
f(x) = \left\lbrace\begin{array}{ll}\sqrt{x}, &amp; x\geq 0\\ -\sqrt{-x}, &amp; x &lt; 0\end{array}
is a well-defined function.
If you don't like explicitly branched functions, make use of pre-defined branched functions:
<br /> f(x) = \operatorname{sgn}(x)\sqrt{|x|}<br />
is the same function.
 
That I know how to do. I'm looking for a continuous function without absolute values and sign functions.
 
redtree said:
THIS IS NOT A HOMEWORK QUESTION, BUT I AM POSTING HERE ANYWAY.

Given the equation

y = sqrt(x)

I'm trying to construct a function that instead of being imaginary when x<0, gives a value for y which is real and negative but whose magnitude is still sqrt(x).

I've been going around in circles trying to model the function. I know there has to be a simple answer, but I'm not finding it.

redtree said:
That I know how to do. I'm looking for a continuous function without absolute values and sign functions.

Don't you see there's an obvious contradiction in your initial post, and last post?

And btw, we here do not solve homework, or whatever problems given to you! That's your task, not ours! We are not paid a single penny for it!

We only give guide to ones who are stuck, and really seeking for help; not for ones that command us to solve the problem for them. Be more polite, and we'll be the same to you.

Now, show your work! What have you tried, and how far did you get?!
 
First of all, this is not homework.

Second of all, there are any number of discontinuous solutions and any number of solutions that utilize sign and absolute value functions. I apologize that I didn't note in my original post that those are not solutions that I am looking for.

Other examples of solutions:

y = sgn(x)*sqrt(e)^ln(abs(x))
y = for x >= 0, sqrt(e)^ln(x), for x<0, sqrt(e)^ln(-x)

Etc.

The point is that I'm trying to avoid these types of solutions.

Sorry if that seems "grumpy."
 
Another solution that I am trying to avoid is a complex number where the real portion gives the result I want. There are also lots of versions of solutions based on complex numbers.

Example:

y = sqrt(x) * (1+i)
 
Another solution (that I also want to avoid):

y = sqrt(x) * (1+i) - abs(sqrt(x))*i
 
  • #10
My feeling is that the answer lies with versions of the trigonometric functions, such as arctan, but I haven't been able to derive the solution.
 
  • #11
Any function that gives a negative value whose magnitude is sqrt|x| for a negative argument has to be equivalent to -\sqrt{(-x)} for x < 0. I am sorry to inform you, you cannot find such a function that avoids the things you are trying to avoid. Slider142 has given two valid answers. Any others will be equivalent to these.

Another is

f(x)=\left\{\begin{array}{rl} \frac{x \sqrt{|x|}}{|x|} &amp; x \neq 0 \\ 0 &amp; x = 0 \end{array}
 
  • #12
What about something like \sqrt[4]{x^2}?
 
  • #13
Bohrok said:
What about something like \sqrt[4]{x^2}?

I came up with something similar earlier today. The problem is with definition at 0. Using a piecewise discontinuity removal:

f(x) = \left\{ \begin{array}{rl} \frac{x}{\sqrt[4]{x^2}} &amp; x \neq 0 \\ 0 &amp; x = 0 \end{array}

This avoids as much as possible the use of absolute value and signum, but it remains a piecewise defined function.

--Elucidus
 
Last edited:
  • #14
redtree,
Do you want a function that looks exactly like sqrt(x) or something else?
 

Similar threads

  • · Replies 21 ·
Replies
21
Views
2K
Replies
7
Views
2K
Replies
1
Views
2K
  • · Replies 27 ·
Replies
27
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K