How can y be written as a function of x?

  • Context: High School 
  • Thread starter Thread starter Ad VanderVen
  • Start date Start date
  • Tags Tags
    Function
Click For Summary

Discussion Overview

The discussion revolves around the mathematical relationship between two variables, ##y## and ##x##, expressed through their dependence on a parameter ##\alpha##. Participants explore how to express ##y## as a function of ##x##, considering various mathematical approaches and representations.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents equations for ##x## and ##y## as functions of ##\alpha## and asks how to express ##y## in terms of ##x##.
  • Another participant suggests that a direct formula for ##y(x)## may not be obtainable, proposing an abstract representation instead.
  • A different viewpoint suggests that if the range of ##\alpha## is known, a polynomial fit or other methods could be used to approximate ##y## as a function of ##x##.
  • One participant shares a complex solution for ##\alpha(x)## derived from Mathematica's ##\texttt{NSolve}##, indicating that ##y(x)## can be expressed in terms of ##\alpha(x)##.
  • Another participant comments on the numerical representation of constants in the equations, suggesting that simplifying these could aid understanding, though they do not provide a specific solution.
  • A later reply offers a simplified approximation of ##y## in terms of ##x##, providing a numerical relationship but not a definitive function.

Areas of Agreement / Disagreement

Participants express differing views on the feasibility of deriving a direct function for ##y## in terms of ##x##. Some propose alternative methods or approximations, while others remain skeptical about achieving a straightforward relationship.

Contextual Notes

Participants acknowledge the complexity of the equations and the potential need for numerical methods or approximations, indicating that the discussion may depend on specific assumptions about the values of ##\alpha##.

Ad VanderVen
Messages
169
Reaction score
13
TL;DR
##x## is a function ##f(\alpha)## of ##\alpha## en ##y## is a function ##g(\alpha)## of ##\alpha##. How can ##y## be written as a function of ##x##?
##x## is a function ##f(\alpha)## of ##\alpha##:

$$\displaystyle x\, = \,\ln \left( {{\rm e}^{ 0.6931471806\,{\alpha}^{-1}}}-{{\rm e}^{ 0.2876820724\,{\alpha}^{-1}}} \right)$$

and ##y## is a function ##g(\alpha)## of ##\alpha##:
$$\displaystyle y\, = \,\ln \left( {{\rm e}^{ 1.386294361\,{\alpha}^{-1}}}-{{\rm e}^{ 0.6931471806\,{\alpha}^{-1}}}\\
\mbox{} \right)$$

How can ##y## be written as a function of ##x##?
 
Last edited:
Physics news on Phys.org
You show parameter representation of x and y.
I am afraid we may not get direct formula of y(x). Or are you satisfied with the abstract formula
y=g(f^{-1}(x))?
 
  • Like
Likes   Reactions: Delta2
If you have the range of ##\alpha## you can fit a polynomial -- or something else, depending on required accuracy :rolleyes: ?

##\ ##
 
Mathematica's ##\texttt{NSolve}## for ##\alpha(x)## returns a set of solutions for ##a=1/2## and ##b=3/2## one of which is
$$
\alpha(x)=\frac{1}{2 \left(\log \left(\frac{\sqrt[3]{\frac{2}{3}}}{\sqrt[3]{\sqrt{3} \sqrt{27 e^{2 x}-4}-9 e^x}}+\frac{\sqrt[3]{\sqrt{3} \sqrt{27 e^{2 x}-4}-9 e^x}}{\sqrt[3]{2} 3^{2/3}}\right)+2 i \pi c_1\right)}\text{ if }c_1\in \mathbb{Z}
$$

then ##\displaystyle y(x)=\log\bigg(e^{\frac{c}{\alpha(x)}}-e^{\frac{d}{\alpha(x)}}\bigg)##.

You can rationalize your real coefficients (as NSolve may not be able to solve for alpha with real coefficients) such as:

[CODE title="Mathematica"]In[41]:= theA = Rationalize[0.6931471806, 10^-10]
Out[41]= 108926/157147
N[theA,10]
Out[42]= 0.6931471807[/CODE]

and use the rational forms in ##\texttt{NSolve}## and go from there.
 
Last edited:
Just to point out, this would be a little easier to think about it you didn't obscure the fact that those e , to the crazy decimals are really just 4, 2 and 4/3.

I don't actually have any good ideas for you though.
 
  • Haha
Likes   Reactions: BvU
Ad VanderVen said:
How can ##y## be written as a function of ##x##?
If you follow @Office_Shredder's advice and simplify, you get, to at least 3 significant digits (you can do more but I didn't want to bother),

y = .406x
 
  • Skeptical
Likes   Reactions: BvU

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K