Questions tagged [inverse]

Questions on exact, symmetric reversal of a definition or functional mapping (i.e. the original form is returned when applied twice). Use this tag for issues on inversion of Mathematica expressions, or general inversion of math constructs.

123 questions
5k views

How to symbolically do matrix “Block Inversion”?

Consider a block (partitioned) matrix matrix = ArrayFlatten[{{a, b}, {c, d}}] where, a, b,...
985 views

What are the counterparts in Wolfram to left and right division of a matrix in other programming language, e.g. Julia and MATLAB?

Sometimes, to find the inverse of a matrix is a labor-consuming task, or even "disgusting", especially when the matrix is "ill". It is said, e.g. in Julia, that the left/right division operation is ...
1k views

Is there a way to symbolically invert a piecewise function

I have a piecewise function that is continuous and strictly monotonic, like this: f[t_] = Piecewise[{{t/4, t < 0}, {t/2, t < 3}, {3/2 + (t - 3)*3, True}}] ...
7k views

Inverse of a complicated function

Mathematica is struggling to find the inverse of this function f(r): ...
182 views

Is there a built-in function to inverse Thread?

Namely, while Thread @ f[{a, b}, {x, y}] gives {f[a, x], f[b, y]} the InverseThread (if it existed) should reverse the ...
597 views

Can I use Compile to speed up InverseCDF?

I'm repeatedly issuing the command P = InverseCDF[NormalDistribution[0, 1], T] where T is either a 36- or 64-vector of real numbers (points in the unit ...
1k views

Inverse Laplace transform not obtained

I can't seem to be able to compute the inverse Laplace transform of a Laplace transform: ...
518 views

Why doesn't Lambert function (ProductLog) simplify?

I have Simplify[ProductLog[x*Exp[x]]] By the definition of the Lambert function, this should be simply x. But Mathematica outputs this: ...
5k views

How to invert an integral equation

There have been numerous times when I've needed to invert an integral equation, i.e. I have something like $$f(x) = g_1(x)\int_{0}^x g_2(x') dx'$$ for arbitrary functions $g_1$ and $g_2$, and ...
600 views

How to reverse irreversible function in Mathematica?

How to reverse formula $y(x)=x (\frac{1}{sin \frac{\pi x}{2}})^\alpha$ i.e. express it as $x = x(y)$ in Mathematica? I did this way ...
154 views

Need a generalization of RootApproximant to recognize linear combinations over algebraic numbers

RootApproximant does a very good job when I need to recognize an algebraic number and when enough of its digits are known (or even when an unlimited number of ...
2k views

Efficient method for inverting a block tridiagonal matrix

Is there a better method to invert a large block tridiagonal Hermitian block matrix, other than treating it as a ordinary matrix? For example: ...
1k views

InverseFunction on an Interpolating Function is misbehaving

I am getting strange behavior when I try to calculate the inverse of an interpolating function for two similar data sets. My data sets are: ...
108 views

InverseFunction oddity

InverseFunction[ConditionalExpression[#, 0 <= # <= 1] &] InverseFunction[ConditionalExpression[#, -1 <= # <= 1] &] The first line produces ...
12k views

How do I get the inverse of a homogeneous transformation matrix?

I want to get the inverse of this homogeneous transformation matrix: iab = { {1, 0, 0, 0}, {0, 0, -1, 0}, {0, 1, 0, 3}, {0, 0, 0, 1} } using the ...
324 views

Easiest way to have an approximation of binary entropy inverse

I call $H_2$ the function $H_2(x) = -x \ln(x)-(1-x) \ln(1-x)$ It is the binary entropy. I call $g(x)=H_2((1+x)/2)$ This last function is bijective on $[0;1]$. I would like to have an inverse, or ...
519 views

How can I get the inverse of my function?

The original function is $$f=\frac{1}{e^{\frac{\phi }{k t}}-1}-\frac{m+1}{e^{\frac{(m+1) \phi }{k t}}-1}$$ I want to express $e^{\frac{\phi }{k t}}$ about $m$ and $f$, so I tried: ...
417 views

116 views

no Plot showed for an Inverse function

The short code is below, but no plot is produced. Are there any errors in my code? Thanks! ...
84 views

Finding input of the function $f(a,b,c) = (d,e)$ such that $|d-e|$ = constant for $d\in[d_0,d_1]$

The actual question contains a few more parameters than mentioned in the title, but the idea will remain very similar. Lets begin abstractly; I have a certain function $f(a,b,c) = (d,e,g,h)$. I am ...
1k views

Get inverse of a matrix step-by-step [duplicate]

How can I get the inverse of a matrix step by step? An example: Given the matrix `{{8, 2}, {3, 2}}´, the result is {{$\frac{1}{5}$, -$\frac{1}{5}$}, {-$\frac{3}{10}$, $\frac{4}{5}$}}. But how can I ...
503 views

Inverse on a restricted domain

I have a function, whose domain is [0,1]. The function is f = Piecewise[{{Exp[-β * (-Log[#])^α], 0 < # <= 1}}, #]& with ...
203 views

Using user-defined inverse functions with Solve

I am trying to solve with: ClearAll[myCeiling]; myCeiling /: InverseFunction[myCeiling[x_]] := myFloor[x]; using ...
386 views

Inverting matrix with assumptions

I want to invert a matrix that contains some variables, so I thought I should give some assumptions to Mathematica to speed up the process. How do I assume that $s0,...,s8$ are positive constants ...
2k views

Mathematica Can't Evaluate This?

I am trying to find the inverse function of $\frac{\ln{x}}{x^2}$ in Mathematica. I am using the Solve[] function to find the inverse (yes, I know about ...
126 views

Inverse CDF of non-builtin probability distribution

I'm trying to get the inverse CDF of the Raised Cosine probability distribution function. It has parameters $\mu$ and $s$, support $x \in [\mu - s, \mu + s]$, PDF ...
160 views

Evaluate the indefinite integral $\int\sin^{-1}\left(\frac{2x}{1+x^2}\right)\ dx$

Integrate $\int\sin^{-1}\frac{2x}{1+x^2}.dx$ \sin^{-1}\frac{2x}{1+x^2}=\begin{cases}2\tan^{-1}x&\text{ if }|x|\leq{1}\\\pi-2\tan^{-1}x&\text{ if }|x|>{1}&\text{ and }x>0\\-\pi-2\...
46 views

Peculiar result of InverseHankelTransform

In using the HankelTransform and its inverse I find that the inverse does not lead to the initial input. I begin with r (the independent variable) in the denominator but end up with r0 (a constant) in ...