SciML / SciML/SymbolicNumericIntegration.jl

Integrate e^{0.5x^2}

Open
#88 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Julia
Stars
130
Forks
11
Avg merge
4h 36m
Merged PRs (30d)
7

Description

I am trying to integrate an exp function without sucess, as follows:

using Symbolics, SymbolicNumericIntegration
@variables x
integrate(exp(0.5*x^2), x)

Which returns (0, exp(0.5(x^2)), Inf).

However, when I try to integrate a similar function, the package works fine:

using Symbolics, SymbolicNumericIntegration
@variables x
integrate(exp(x^2), x)

Which returns (0.7071067811865478SymbolicNumericIntegration.Erfi(x), 0, 1.958577713602137e-12).

Is this type of function not supported in the package, or is there something I'm doing wrong?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Julia examples using SymbolicNumericIntegration.integrate for exp(0.5*x^2) and exp(x^2), comparing the returned tuples and the differing coefficient. Trace the integration entry point to determine whether the first expression is unsupported or handled incorrectly; done means the behavior is explained and the issue has a verified resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.